package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.quality.QualityProcessInspection;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @author GE-LV5
 * @create 2023/2/27 17:36
 */
public interface QualityProcessInspectionMapper extends BaseMapper<QualityProcessInspection> {

    /**
     * 添加过程检验单
     * @param quality 过程检验单
     * @return
     */
    public int insertQualityProcessInspection(QualityProcessInspection quality);


    /**
     * 查询过程检验单
     *
     * @return 过程检验单
     */
    public List<QualityProcessInspection> selectQualityProcessInspection(@Param("vo") QualityProcessInspection vo);



    /**
     * 删除过程检验单
     *
     * @param id 总成计划主键
     * @return 结果
     */
    public int deleteQualityProcessInspectionById(@Param("id") Long id);


    /**
     * 查询过程检验单详细
     *//*
    public AjaxResult selectImg(String imagePath);*/
}
